import type { FC, ReactNode } from 'react';
import { memo } from 'react';
import useLoadQuestion from '@/hooks/useLoadQuestion';

interface IProps {
  children?: ReactNode;
}

const Count: FC<IProps> = () => {
  const { loading } = useLoadQuestion();
  return <div>{loading ? 'Loading...' : 'Count'}</div>;
};

export default memo(Count);
